Skip to main content

FlowMailSender Constructors

An object defining constructors for the FlowMailSender class.

FlowMailSender(name, workflowData, workflowCodeInstance)

Constructor for the FlowMailSender class. Initializes a new instance of the FlowMailSender class.

Parameters:

name (required): string
The name of the flow object.

workflowData (required): IRuntimeWorkflowData
The workflow data associated with the flow object.

workflowCodeInstance (optional): IWorkflowCode
The optional workflow code instance.


FlowMailSender(name, workflowData, workflowCodeInstance)

Initializes a new instance of the FlowMailSender class.

Parameters:

name (required): string
The name of the mail sender step.

workflowData (required): IRuntimeWorkflowData
The runtime workflow data required for the mail sender.

workflowCodeInstance (optional): IWorkflowCode
Optional workflow code instance for email operations.


FlowMailSender(name,workflowData,workflowCodeInstance)

Initializes a new instance of the FlowMailSender class with a name, workflow data, and workflow code instance.

Parameters:

name (required): string
The name of the API step.

workflowData (required): IRuntimeWorkflowData
The runtime workflow data.

workflowCodeInstance (optional): IWorkflowCode
The workflow code instance to use.